/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ec;

/**
 *
 * @author alex
 */
public class symbol {
    public enum sym_type {
    VARIABLE,
    NUMBER,
    LPAR,
    RPAR,
    COMA,
    OP_ADD,
    OP_SUB,
    OP_MUL,
    OP_DIV,
    OP_MOD,
    OP_EXP,
    OP_NOT,
    OP_BOOLOR,
    OP_BOOLXOR,
    OP_BOOLAND,
    OP_BOOLNOT,
    OP_EQUAL,
    OP_LESS,
    OP_GREATER,
    K_DIM,
    K_IF,
    K_ELSE,
    K_ENDIF,
    K_WHILE,
    K_ENDWHILE,
    K_PRINT,
    K_CLS,
    K_POKE,
    K_PEEK,
    K_END
    }

    String Value;
    sym_type type;

    public symbol(String theValue, sym_type thetype)
    {
        Value=theValue;
        type=thetype;

    }
}
